<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + path + "/";
%>
<!DOCTYPE html>
<html lang="en">
	<head>
	<base href="<%=basePath%>">
	<!-- 下拉框 -->
	<link rel="stylesheet" href="static/ace/css/chosen.css" />
	<!-- jsp文件头和头部 -->
	<%@ include file="../../system/index/top.jsp"%>
	<!-- 日期框 -->
	<link rel="stylesheet" href="static/ace/css/datepicker.css" />
</head>
<body class="no-skin">
<!-- /section:basics/navbar.layout -->
<div class="main-container" id="main-container">
	<!-- /section:basics/sidebar -->
	<div class="main-content">
		<div class="main-content-inner">
			<div class="page-content">
				<div class="row">
					<div class="col-xs-12">
					
					<form action="admin/uristat/${msg }.do" name="Form" id="Form" method="post">
						<input type="hidden" name="id"  value="${entity.getId()}"/>
						<div id="zhongxin" style="padding-top: 13px;">
						<table id="table_report" class="table table-striped table-bordered table-hover">
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">请求uri:</td>
								<td><input class="noteEmpty" type="text" name="uri"  value="${entity.getUri()}" maxlength="255" placeholder="这里输入请求uri" title="请求uri" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">最大并发数量:</td>
								<td><input class="notEmpty integer" name="concurrentMax"  value="${entity.getConcurrentMax()}" maxlength="20" placeholder="这里输入最大并发数量" title="最大并发数量" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">请求次数:</td>
								<td><input class="notEmpty integer" name="requestCount"  value="${entity.getRequestCount()}" maxlength="20" placeholder="这里输入请求次数" title="请求次数" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">总的请求时间:</td>
								<td><input class="notEmpty integer" name="requestTimeMillis"  value="${entity.getRequestTimeMillis()}" maxlength="20" placeholder="这里输入总的请求时间" title="总的请求时间" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">错误次数:</td>
								<td><input class="notEmpty integer" name="errorCount"  value="${entity.getErrorCount()}" maxlength="20" placeholder="这里输入错误次数" title="错误次数" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">上次访问时间:</td>
								<td><input class="span10 date-picker notEmpty" name="lastAccessTime"  value="${entity.getLastAccessTime()}" type="text" data-date-format="yyyy-mm-dd" readonly="readonly" placeholder="上次访问时间" title="上次访问时间" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">jdbc提交次数:</td>
								<td><input class="notEmpty integer" name="jdbcCommitCount"  value="${entity.getJdbcCommitCount()}" maxlength="20" placeholder="这里输入jdbc提交次数" title="jdbc提交次数" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">idbc回滚次数:</td>
								<td><input class="notEmpty integer" name="jdbcRollbackCount"  value="${entity.getJdbcRollbackCount()}" maxlength="20" placeholder="这里输入idbc回滚次数" title="idbc回滚次数" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">jdbc执行次数:</td>
								<td><input class="notEmpty integer" name="jdbcExecuteCount"  value="${entity.getJdbcExecuteCount()}" maxlength="20" placeholder="这里输入jdbc执行次数" title="jdbc执行次数" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">jdbc执行错误次数:</td>
								<td><input class="notEmpty integer" name="jdbcExecuteErrorCount"  value="${entity.getJdbcExecuteErrorCount()}" maxlength="20" placeholder="这里输入jdbc执行错误次数" title="jdbc执行错误次数" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">idbc执行峰值:</td>
								<td><input class="notEmpty integer" name="jdbcExecutePeak"  value="${entity.getJdbcExecutePeak()}" maxlength="20" placeholder="这里输入idbc执行峰值" title="idbc执行峰值" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">jdbc执行时间:</td>
								<td><input class="notEmpty integer" name="jdbcExecuteTimeMillis"  value="${entity.getJdbcExecuteTimeMillis()}" maxlength="20" placeholder="这里输入jdbc执行时间" title="jdbc执行时间" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">jdbc获取的数据行数:</td>
								<td><input class="notEmpty integer" name="jdbcFetchRowCount"  value="${entity.getJdbcFetchRowCount()}" maxlength="20" placeholder="这里输入jdbc获取的数据行数" title="jdbc获取的数据行数" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">jdbc获取数据行数峰值:</td>
								<td><input class="notEmpty integer" name="jdbcFetchRowPeak"  value="${entity.getJdbcFetchRowPeak()}" maxlength="20" placeholder="这里输入jdbc获取数据行数峰值" title="jdbc获取数据行数峰值" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">jdbc更新次数:</td>
								<td><input class="notEmpty integer" name="jdbcUpdateCount"  value="${entity.getJdbcUpdateCount()}" maxlength="20" placeholder="这里输入jdbc更新次数" title="jdbc更新次数" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">jdbc更新峰值:</td>
								<td><input class="notEmpty integer" name="jdbcUpdatePeak"  value="${entity.getJdbcUpdatePeak()}" maxlength="20" placeholder="这里输入jdbc更新峰值" title="jdbc更新峰值" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">jdbc连接池打开次数:</td>
								<td><input class="notEmpty integer" name="jdbcPoolConnectionOpenCount"  value="${entity.getJdbcPoolConnectionOpenCount()}" maxlength="20" placeholder="这里输入jdbc连接池打开次数" title="jdbc连接池打开次数" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">jdbc连接池关闭次数:</td>
								<td><input class="notEmpty integer" name="JdbcPoolConnectionCloseCount"  value="${entity.getJdbcPoolConnectionCloseCount()}" maxlength="20" placeholder="这里输入jdbc连接池关闭次数" title="jdbc连接池关闭次数" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">jdbc结果集打开次数:</td>
								<td><input class="notEmpty integer" name="jdbcResultSetOpenCount"  value="${entity.getJdbcResultSetOpenCount()}" maxlength="20" placeholder="这里输入jdbc结果集打开次数" title="jdbc结果集打开次数" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">jdbc结果集关闭次数:</td>
								<td><input class="notEmpty integer" name="jdbcResultSetCloseCount"  value="${entity.getJdbcResultSetCloseCount()}" maxlength="20" placeholder="这里输入jdbc结果集关闭次数" title="jdbc结果集关闭次数" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">直方图:</td>
								<td><input class="noteEmpty" type="text" name="histogram"  value="${entity.getHistogram()}" maxlength="255" placeholder="这里输入直方图" title="直方图" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="width:150px;text-align: right;padding-top: 13px;">简介:</td>
								<td><input class="noteEmpty" type="text" name="profiles"  value="${entity.getProfiles()}" maxlength="2555" placeholder="这里输入简介" title="简介" style="width:98%;"/></td>
							</tr>
							<tr>
								<td style="text-align: center;" colspan="10">
									<a class="btn btn-mini btn-primary" onclick="save();">保存</a>
									<a class="btn btn-mini btn-danger" onclick="top.Dialog.close();">取消</a>
								</td>
							</tr>
						</table>
						</div>
						<div id="zhongxin2" class="center" style="display:none"><br/><br/><br/><br/><br/><img src="static/images/jiazai.gif" /><br/><h4 class="lighter block green">提交中...</h4></div>
					</form>
					</div>
					<!-- /.col -->
				</div>
				<!-- /.row -->
			</div>
			<!-- /.page-content -->
		</div>
	</div>
	<!-- /.main-content -->
</div>
<!-- /.main-container -->


	<!-- 页面底部js¨ -->
	<%@ include file="../../system/index/foot.jsp"%>
	<!-- 下拉框 -->
	<script src="static/ace/js/chosen.jquery.js"></script>
	<script src="/static/ace/js/bootbox.js"></script>
	<!-- 日期框 -->
	<script src="static/ace/js/date-time/bootstrap-datepicker.js"></script>
	<!--提示框-->
	<script type="text/javascript" src="static/js/jquery.tips.js"></script>
	<script type="text/javascript" src="static/js/common/common.js"></script>
	<script type="text/javascript" src="static/js/common/commonTip.js"></script>
	<script type="text/javascript" src="static/js/common/myValidation.js"></script>
		<script type="text/javascript">
		$(top.hangge());
		//保存
		function save(){
			if (!myValidation.commonValid("Form")){
				return false;
			}
			
			$("#Form").submit();
			$("#zhongxin").hide();
			$("#zhongxin2").show();
		}
		
		$(function() {
			//日期框
			$('.date-picker').datepicker({autoclose: true,todayHighlight: true});
		});
		</script>
</body>
</html>